package com.bw.user.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.common.utils.PageUtils;
import com.bw.common.utils.Query;

import com.bw.user.dao.HouseConcernDao;
import com.bw.user.entity.HouseConcernEntity;
import com.bw.user.service.HouseConcernService;


@Service("houseConcernService")
public class HouseConcernServiceImpl extends ServiceImpl<HouseConcernDao, HouseConcernEntity> implements HouseConcernService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<HouseConcernEntity> page = this.page(
                new Query<HouseConcernEntity>().getPage(params),
                new QueryWrapper<HouseConcernEntity>()
        );

        return new PageUtils(page);
    }

}